/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html
	color $textColor
	font-size $fontSize
	line-height $lineHeight

::-moz-selection
	selection()

::selection
	selection()
/*
 * A better looking default horizontal rule
 */

hr
	display block
	height 1px
	border 0
	border-top 1px solid $hrColor
	margin 1em 0
	padding 0

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video
	vertical-align middle

/*
 * Remove default fieldset styles.
 */

fieldset
	border 0
	margin 0
	padding 0

/*
 * Allow only vertical resizing of textareas.
 */

textarea
	resize vertical

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade
	margin 0.2em 0
	background $popupOldBrowserBG
	color $popupOldBrowserColor
	padding 0.2em 0

